package com.tencent.wxcloudrun.vo.request.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Ryan Zhao
 *         <p>
 *         Copyright: Copyright (c) 2023
 *         </p>
 * @version 1.0
 * @date 2023-08-29 16:58
 * @description: 微信支付请求入参
 */
@NoArgsConstructor
@Data
@ApiModel(value = "WxPayRequest", description = "微信支付请求入参")
public class WxPayRequest {

    @ApiModelProperty("用户序号")
    private Long userId;

    @ApiModelProperty("商品简介")
    private String body;

    @ApiModelProperty("附加数据")
    private String attach;

    @ApiModelProperty("终端IP")
    private String spbillCreateIp;

    @ApiModelProperty("总金额")
    private Integer totalFee;

    @ApiModelProperty("结果通知回调云托管信息")
    private ContainerDTO container;

    @NoArgsConstructor
    @Data
    public static class ContainerDTO {

        @ApiModelProperty("服务名")
        private String service;

        @ApiModelProperty("服务路径")
        private String path;
    }
}
